<template>
  <div class="home-detail-swiper">
    <Swiper>
      <SwiperItem v-for="img in imgs" :key="img">
        <a href="#">
          <img :src="img">
        </a>
      </SwiperItem>
    </Swiper>
  </div>
</template>

<script>
  import {Swiper,SwiperItem} from 'components/common/swiper/index.js'

  export default {
    name: "HomeDetailSwiper",
    props:{
      imgs:{
        type:Array,
        default(){

          return []
        }
      }
    },
    components:{
      Swiper,
      SwiperItem
    }
  }
</script>

<style scoped>

  .home-detail-swiper img{

    vertical-align: middle;
  }

</style>
